package Utils.converters;

import Utils.data.DataConverters;
import Utils.delegations.IFunc;

/**
 * String2Int
 *
 * @author d11yu
 */
public final class String2Int implements IFunc<Integer> {
    @Override
    public Integer invoke() {
        return null;
    }

    @Override
    public Integer invoke(Object... objs) throws Exception {
        return DataConverters.string2Double2Int(objs[0].toString());
    }

    @Override
    public <T> T invoke(Class<T> clazz, Object... objs) throws Exception {
        return null;
    }
}
